import {request} from '@umijs/max';
import * as API from "@/services";


/** 期刊人物 分页检索请求 */
export async function queryFrontJournalPersonages(params: API.FrontJournalPersonagePageQueryParams): Promise<API.RespPageResult<API.FrontJournalPersonage>> {
    return request('/api/v1/front/journal-personage', {
        params,
    });
}

/** 期刊人物 详情请求 */
export async function queryFrontJournalPersonage(bizId: API.EntityId): Promise<API.RespResult<API.FrontJournalPersonage>> {
    return request(`/api/v1/front/journal-personage/${bizId}`);
}


